﻿
using System.IO;

namespace lib472
{
    public class FileWriter
    {
        public FileWriter() { }

        public static void WriteFile(string path, string content)
        {
            
            using (StreamWriter sw = new StreamWriter(path)) {  

               sw.WriteLine(content);

            }
        }


        public static string ReadFile(string path)
        {
           return File.ReadAllText(path);
        }
    }
}
